"""
    杨辉三角!
"""

lst = [[1]]
num = int(input("Enter Line Numbers:"))
for i in range(1,num):
    lst.append(list(map(lambda x,y:x+y,[0]+lst[-1],lst[-1]+[0])))
print(lst)
    

